package com.chat.login.domain.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

/**
 * @author qianzui333
 * 用于验证码数据
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CaptchaDTO implements Serializable {
    //账号
    @NotBlank(message = "账号不能为空")
    private String account;
    //验证码id
    private String codeId;
    //验证码
    @NotBlank(message = "验证码为空")
    private String code;
}
